diff options
Diffstat (limited to 'src/pages/thematique/[slug].tsx')
| -rw-r--r-- | src/pages/thematique/[slug].tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx index 61d105e..20c1ee8 100644 --- a/src/pages/thematique/[slug].tsx +++ b/src/pages/thematique/[slug].tsx @@ -8,7 +8,7 @@ import { useIntl } from 'react-intl'; import { getLayout, Heading, - LinksListWidget, + LinksWidget, type MetaItemData, PageLayout, PostsList, @@ -24,7 +24,7 @@ import styles from '../../styles/pages/blog.module.scss'; import type { NextPageWithLayout, PageLink, Thematic } from '../../types'; import { ROUTES } from '../../utils/constants'; import { - getLinksListItems, + getLinksItemData, getPageLinkFromRawData, getPostsWithUrl, getSchemaJson, @@ -158,23 +158,23 @@ const ThematicPage: NextPageWithLayout<ThematicPageProps> = ({ widgets={ topics ? [ - <LinksListWidget + <LinksWidget heading={ <Heading isFake level={3}> {thematicsListTitle} </Heading> } - items={getLinksListItems(thematics)} + items={getLinksItemData(thematics)} // eslint-disable-next-line react/jsx-no-literals -- Key allowed key="thematics" />, - <LinksListWidget + <LinksWidget heading={ <Heading isFake level={3}> {topicsListTitle} </Heading> } - items={getLinksListItems(topics)} + items={getLinksItemData(topics)} // eslint-disable-next-line react/jsx-no-literals -- Key allowed key="related-topics" />, |
